x86/vioapic: introduce support for multiple vIO APICS
authorRoger Pau Monné <roger.pau@citrix.com>
Wed, 5 Apr 2017 14:46:22 +0000 (16:46 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 5 Apr 2017 14:46:22 +0000 (16:46 +0200)
commit9f44b08f7d0e47730176d7f3872921d3301571b3
treeb9173a7fefda4e46e4405a9ecbacc6e27b619b21
parentd18627583df28facd9af473ea1ac4a56e93e6ea9
x86/vioapic: introduce support for multiple vIO APICS

Add support for multiple vIO APICs on the same domain, thus turning
d->arch.hvm_domain.vioapic into an array of vIO APIC control structures.

Note that this functionality is not exposed to unprivileged guests, and will
only be used by PVHv2 Dom0.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/dom0_build.c
xen/arch/x86/hvm/vioapic.c
xen/arch/x86/hvm/vlapic.c
xen/arch/x86/hvm/vpt.c
xen/include/asm-x86/hvm/domain.h
xen/include/asm-x86/hvm/vioapic.h